package com.example.booklist.mapper;

import com.example.booklist.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * ClassName: UserInfoMapper
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2023/11/19 22:18
 * @Version 1.0
 */
@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where user_name = #{name}")
    UserInfo selectUserByName(String name);
}
